package com.zerdoor.dao;

import java.util.List;
import java.util.Map;

/**
 * Created by xiaoji on 2015/1/29.
 */
public interface AddValueDao {

    /**
     * 增值服务列表
     * @param map 增值服务查找条件
     * @return
     */
    public List<Map<String, Object>> selectAllAddValue(Map<String, Object> map);

    /**
     * 添加增值服务
     * @param map
     * @throws Exception
     */
    public void addAddValue(Map<String, Object> map) throws Exception;

    /**
     * 编辑增值服务
     * @param map
     * @throws Exception
     */
    public void updateAddValue(Map<String, Object> map) throws Exception;

    /**
     * 暂停增值服务
     * @param map
     * @throws Exception
     */
    public void updateAddValueStatus(Map<String, Object> map) throws Exception;
}
